package com.mes.schedule.domain;

import java.util.Date;

/**
 * 每个工序任务针对的考核点
 * 有可能有多个
 * @author 王敏
 *
 */
public class CheckPoint {
	
	private Integer checkPointType;
	private Double weightRate;
	
	private Date checkTime;
	/**
	 * 对应这个任务最长的reminawork
	 * 计算松弛时赋值
	 */
	protected Double remainWork;

	public Double getRemainWork() {
		return remainWork;
	}

	public void setRemainWork(Double remainWork) {
		this.remainWork = remainWork;
	}

	public Integer getCheckPointType() {
		return checkPointType;
	}

	public void setCheckPointType(Integer checkPointType) {
		this.checkPointType = checkPointType;
	}

	public Double getWeightRate() {
		return weightRate==null?1:weightRate;
	}

	public void setWeightRate(Double weightRate) {
		
		this.weightRate = weightRate;
	}

	public Date getCheckTime() {
		return checkTime;
	}

	public void setCheckTime(Date checkTime) {
		this.checkTime = checkTime;
	}

}
